package com.aididi.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "contractorinfo")
public class ContractorInfo implements Serializable {

    private static final long serialVersionUID = -3454858460177593385L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    /**
     * 商户号
     */
    @Column(name = "mchntno")
    private String mchntNo;
    /**
     * 多应用类型
     */
    @Column(name = "apptype")
    private String appType;
    /**
     * 权限
     */
    @Column(name = "status")
    private String status;

    @Column(name = "crt_time")
    private Date crtTime;

    @Column(name = "udp_time")
    private Date udpTime;

}
